package Text01;

import java.sql.SQLOutput;
import java.util.Scanner;

public class ScannerText {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入第一个数");
        int firstNum = scanner.nextInt();
        System.out.println("请输入第二个数");
        int secondNum = scanner.nextInt();
        System.out.println("firstNnm");
        System.out.println("secondNum");
        int sum = firstNum + secondNum;
        int sub = firstNum + secondNum;
        System.out.println(sum);
        System.out.println(sub);
    }

}
